package org.lex.notepad.ui.action;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;

import javax.swing.JOptionPane;

public class AboutAction extends BaseNotepadAction {
	public AboutAction() {
		super();
		this.setName("About ...");
		this.setMnemonic(KeyEvent.VK_A);
	}

	public void actionPerformed(ActionEvent e) {
		JOptionPane.showMessageDialog(notepad.getRootWindow(), "A Simple Notepad", "About", JOptionPane.INFORMATION_MESSAGE);
	}
}
